package cn.findviewbydream.evil.main.service;

import cn.findviewbydream.evil.main.entity.BaseEssentialInfoEntity;
import cn.findviewbydream.evil.main.entity.BaseSeatEntity;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

import java.util.List;

/********************************************
 * 工程名：MealOrder
 * 包名：cn.findviewbydream.evil.main.service
 * 时间：17-2-21
 * 作者：白雨濃 evil
 * 邮箱：evilbai@foxmail.com
 * 内容：
 ********************************************/
public interface SettingBaseService
{
    String[] getTypeList();

    BaseEssentialInfoEntity getBaseEssentialInfo();

    List<BaseSeatEntity> getBaseSeatList();

    BaseSeatEntity getBaseSeatById(String id);

    boolean postBaseSeat(int id, String seat, boolean state);

    boolean postBaseSeatState(int id, boolean state);

    int getBaseSeatLastId();

    boolean postEssentialSubmit(String name, String address, String introduction, String type, CommonsMultipartFile
            img);

}
